Button Notification Example
  // In applet. Get notifier class.
  // Should catch SwNotRunningException
  SwNotifier t=SwNotifier.getNotifierThread(a);
  SwAppletEvent evt=new SwAppletEvent(...);
  t.queueEvent(evt);


  // In notification class
  public void handleEvent(SwAppletEvent evt){
      switch(evt.id) {
		. . .	
      }
  }

Return to Tracks